package cn.iocoder.yudao.module.trade.controller.app.order.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author superzp
 * @date 2024/05/10 11:06
 */

@NoArgsConstructor
@Data
public class WaybillTokenTransferVO {


    @JSONField(name = "openid")
    private String openId;
    @JSONField(name = "waybill_id")
    private String waybillId;
    @JSONField(name = "sender_phone")
    private String senderPhone;
    @JSONField(name = "receiver_phone")
    private String receiverPhone;
    @JSONField(name = "delivery_id")
    private String deliveryId;
    @JSONField(name = "trans_id")
    private String transId;
    @JSONField(name = "order_detail_path")
    private String orderDetailPath;
    @JSONField(name = "goods_info")
    private GoodsInfoDTO goodsInfo;
    @NoArgsConstructor
    @Data
    public static class GoodsInfoDTO {
        @JSONField(name = "detail_list")
        private List<DetailListDTO> detailList;

        @NoArgsConstructor
        @Data
        public static class DetailListDTO {
            @JSONField(name = "goods_name")
            private String goodsName;
            @JSONField(name = "goods_img_url")
            private String goodsImgUrl;
        }
    }
}
